<!-- 预警审核 -->
<div fwa-layout-container data-main="true" class="full-height full-width">
    <div  fwa-layout-box="center" class="full-width full-height full-overflow-y">
		 <div fwa-layout-container data-main="true" class="full-height full-width">    
		    <div  fwa-layout-box="north" style="height:300px;">
			      <div class="col-xs-7  full-height">  
							<div class="full-width title" style="margin-top: 8px;">
								<div class="col-xs-12" >
									<h6>
										<b>预警信息</b>
									</h6>
								</div>
							</div>
							<div class=" full-height full-width background-white" >
							    <div class=" full-height" style="padding:10px 20px 10px 10px;"> 
							       <div class="row form-group" >
							            <div class=" col-xs-12" >
								            <div style="width:15.75%;float: left;" class=" text-right">
										                预警编号:
											</div>
											<div style="width:14%;float: left;padding-left:5px;" class="text-left">
										                <span ng-bind="warningFrom.warnNoBiz"></span>
											</div>
											<div style="width:14%;float: left;" class=" text-right">
												受理日期:
											</div>
										    <div style="width:14%;float: left;padding-left:5px;" class="  text-left">
									        	<span ng-bind="warningFrom.warnDate"></span>
									        </div>
											 <div style="width:14%;float: left;" class="  text-right">预警时段:</div>
											 <div style="width:28.25%;float: left;padding-left:5px;" class=" text-left">
											      <span ng-bind="warningFrom.startDateShow"></span>&nbsp;-
											      <span ng-bind="warningFrom.endDateShow"></span>
										     </div>
										 </div>
						        </div>
						        <div class="row form-group" >
						            <div class=" col-xs-12" >
							            <div style="width:15.75%;float: left;" class=" text-right">
											 案件来源:
										</div>
										<div style="width:14%;float: left;padding-left:5px;" class="text-left">
										      <a ng-click="viewDetailWarning();">查看</a>
									    </div>
							            <div style="width:14%;float: left;" class=" text-right">
												经办人:
										</div>
										<div style="width:14%;float: left;padding-left:5px;" class="text-left">
											      <span ng-bind="warningFrom.agentName"></span>
										</div>
										<div style="width:42.25%;float: left;padding-left:5px;" class="text-left">
										</div>
									</div>
						        </div>
						        <div class="row form-group" >
								     <div class="col-xs-6">
										<div class="col-xs-4  text-right">
											预警原因:
										</div>
								        <div class=" col-xs-8  text-left">
									        <span ng-bind="warningFrom.summary"></span>
								        </div>
								     </div>
								     <div class=" col-xs-6"></div>
								 </div>
								 <div class="row form-group" style="height:100px;">
									<div class="col-xs-12" >
										<div style="width: 15.75%;float: left;" class=" text-right">
									           预警内容:
										</div>
										<textarea style="height:80px; width: 84.25%;float: left;padding-left:5px; resize : none;border:0" readonly="readonly" ng-bind="warningFrom.reason"></textarea>
									</div>
								</div>
								<div class="row form-group"  >
								    <div class="  col-xs-12">
										<div style="width:15.75%;float: left;" class=" text-right">
									           处理方式:
										</div>
									    <div style="width: 84.25%;float: left;padding-left:5px;" class=" text-left" >
												<span ng-bind="warningFrom.processName"></span>
											    <a ng-click="warningNoticeDialog();" ng-show="prcoessTypeFlag">自查通知书</a>
									    </div>
									 </div>
								</div>
							 </div>
						 </div>
				  </div>
			      <div class="col-xs-5 full-height">
			           <div class=" row" style="margin-top: 8px;margin-right: 0px;">
				                <div class="col-xs-12 title">
									<div class="col-xs-12" >
										<div class="row">
											<h6>
												<b>医疗机构(<a ng-click="viewMedicalInfo();" ng-bind="warnMedicalCount"></a>)</b>
											</h6>
										</div>
									</div>
							    </div>
				                <div class="col-xs-12 background-white" style="height: 70px;">
				                      <div class=" col-xs-12" ng-mouseout="mouseoutShow(warnMedicalData);" ng-mouseover="mouseoverShow(warnMedicalData);">
										 <div  class=" col-xs-9" style="padding-top:8px;">
											<div class="row" style="line-height: 28px;">
											    <div class="col-xs-8">
											   		机构编号: <span ng-bind="warnMedicalData.code"></span>
											   	</div>
											   	<div class="col-xs-4">
												   	<div ng-show="warnMedicalData.score!=null" class="full-width text-right" style="margin-left:-15px;">
												     -<span ng-bind="warnMedicalData.score"></span>
													</div>
											   	</div>
											</div>
											<div class="full-height" style="line-height: 28px;" >
											     	机构名称: <span ng-bind="warnMedicalData.name"></span>
											</div>
										</div>
										<div class="col-xs-3" style="line-height: 56px;">
											<div ng-show="warnMedicalData.show" class="full-width text-right" style="margin-top:-5px;">
												<a ng-click="marking(1,warnMedicalData,warnMedicalData.code,warnMedicalData.orgType);">记分</a>&nbsp;
											</div>
										</div>
									 </div>
				                </div>
				         </div>
				         <div class=" row" style="margin-top: 8px;margin-right: 0px;" >
				              <div class="col-xs-6" >
				                   <div class="row" style="margin-right: -4px;">
				                        <div class="col-xs-12 title">
											<div class="col-xs-7" >
												<div class="row">
													<h6>
														<b>医护人员(<a ng-click="viewStaffList();" ng-bind="warnStaffCount"></a>)</b>
													</h6>
												</div>
											</div>
											<div class="col-xs-5 text-right" >
												<a ng-click="addStaff();">
													<b>新增</b>
												</a>
											</div>
									    </div>
									</div>
					                <div class="row background-white full-overflow-y" style="height: 155px;margin-right: -4px;" >
					                        <div class="form-group col-xs-12" ng-class="{'cursor-pointer':data.show}" ng-mouseout="mouseoutShow(data);" ng-mouseover="mouseoverShow(data);" ng-repeat="data in warnStaffData">
												<div class="col-xs-3" >
													<div class="row ">
														    <span ng-bind="data.name">
															</span>
													</div>
												</div>
												<div class="col-xs-3" >
													<div class="row">
														<span ng-bind="data.type"></span>
													</div>
												</div>
												<div class="col-xs-2">
													<div ng-show="data.score!=null" class="full-width text-right">
													     -<span ng-bind="data.score"></span>
													</div>
												</div>
												<div class="col-xs-4">
													<div ng-show="data.show" class="full-width text-right">
														<a ng-click="marking(2,data,warnMedicalData.code,'');">记分</a>&nbsp;
														<a ng-click="deleteStaff(data);">删除</a>
													</div>
												</div>
											</div>
											<div class="full-width full-height text-center" ng-show="!warnStaffCount || warnStaffCount <= 0">
												<div class="col-xs-1">
												</div>
												<div class="col-xs-10 " style="color:gray;padding-top: 20%;">
													<span>
														请通过右上角“新增”添加涉及医护人员信息
													</span>
												</div>
											</div>
					                </div>
				                   
				              </div>
				              <div class="col-xs-6" >
					                <div class="row" style="margin-left: -4px;">
					                    <div class="col-xs-12 title">
											<div class="col-xs-7" >
												<div class="row">
													<h6>
														<b>参保人员(<a ng-click="viewInsurList();" ng-bind="warnInsurCount"></a>)</b>
													</h6>
												</div>
											</div>
											<div class="col-xs-5 text-right" >
												<a ng-click="addInsurance();">
													<b>新增</b>
												</a>
											</div>
									    </div>
									</div>
					                <div class="row background-white full-overflow-y" style="height: 155px;margin-left: -4px;" >
					                        <div class="form-group col-xs-12" ng-class="{'cursor-pointer':data.show}" ng-mouseout="mouseoutShow(data);" ng-mouseover="mouseoverShow(data);" ng-repeat="data in warnInsurData">
											    <div class="col-xs-4" >
													<div class="row ">
														 <span ng-bind="data.name"></span>
													</div>
												</div>
												<div class="col-xs-3" >
													<div class="row">
														<span ng-bind="data.typeName">
														</span>
													</div>
												</div>
												<div class="col-xs-2">
													<div ng-show="data.score!=null" class="full-width text-right">
													     -<span ng-bind="data.score"></span>
													</div>
												 </div>
												<div class="col-xs-4" >
													<div ng-show="data.show" class="full-width text-right">
														<!-- <a ng-click="marking(3,data,warnMedicalData.code,'');">记分</a>&nbsp; -->
														<a ng-click="deleteInsurance(data);">删除</a>
													</div>
												</div>
											</div>
											<div class="full-width full-height text-center" ng-show="!warnInsurCount || warnInsurCount <= 0">
												<div class="col-xs-1">
												</div>
												<div class="col-xs-10" style="color:gray;padding-top: 20%;">
													<span>
														请通过右上角“新增”添加涉及参保人信息
													</span>
												</div>
										   </div>
					                </div>
				              </div>
				         </div>
		          </div>
		    </div>
		    <div  fwa-layout-box="center" padding="true" class="full-width" style="min-height: 100px;">
		             <div class="full-width background-white" style="height:38px;">
						 <ul class="nav nav-arrows">
							 <li ng-repeat="tab in tabs" ng-class="{'active':currentTab==tab.index}" ng-click="tabClick(tab.index)">
							    <div class="arrows-float" ng-show="tab.status==0" style="padding-left:8px;">
									<span class="arrows-check"></span>
								</div>
								<a>
								<b>{{tab.name}}</b>
								</a>
								<span class=arrows></span>
							 </li>
						 </ul>
					</div>
				    <div class=" full-width background-white">
						 <div class="full-width background-white" ng-repeat="tab in tabs"  ng-show="currentTabIndex == tab.index" 
							 ng-include="tab.url">
						 </div>
				    </div>
				    <div class="col-xs-12" style="height:80px;">
					</div>
		    </div>
		 </div>
    </div>
    <div  fwa-layout-box="south" padding="true" class="full-width" >
		        <div class="col-xs-12 text-center background-white" style="height: 60px;line-height: 60px;">
		            <button type="button"  class="btn btn-primary btn-sm" ng-click="saveWarning();">
						暂存
					</button> 
					<button type="button"  class="btn btn-primary btn-sm" ng-click="submitWarning();">
						保存
					</button> 
					<button type="button"  class="btn btn-primary btn-sm" ng-click="backWarning();">
						取消
					</button> 
				</div>
    </div>
</div>
<fwa-loading data-show="saveDialogload"> 
	保存中... 
</fwa-loading>